package com.ruoyi.receipt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 例题题目管理对象 tb_example_subject_manager
 *
 * @author ruoyi
 * @date 2021-03-29
 */
public class TbExampleSubjectManager extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 类型 1选择题 2填空题 */
    @Excel(name = "类型 1选择题 2填空题")
    private Integer type;

    /** tb_subject_cluste表id */
    @Excel(name = "tb_subject_cluste表id")
    private Long subjectClusteId;

    /** tb_knowledge_manager表id */
    @Excel(name = "tb_knowledge_manager表id")
    private Long knowledgeManagerId;

    /** 难度 */
    @Excel(name = "难度")
    private Long diffictRatio;

    /** 重要性 */
    @Excel(name = "重要性")
    private Long importRatio;

    /** 基础分值 */
    @Excel(name = "基础分值")
    private Long baseRatio;

    /** 例题得分(根据难度+重要性+基础分值得出) */
    @Excel(name = "例题得分(根据难度+重要性+基础分值得出)")
    private Long knowledgeScore;

    /** 审核状态 1未审核(默认) 2已审核 */
    @Excel(name = "审核状态 1未审核(默认) 2已审核")
    private Integer status;

    /** 删除状态 0未删除(默认) 1已删除 */
    @Excel(name = "删除状态 0未删除(默认) 1已删除")
    private Integer isDel;

    /**
     * 全部选项
     */
    private String[] option;
    //正确选项
    private String[] correctoption;
    /**题簇名字*/
    private  String  clusteName;
    /**知识点名字*/
    private String   ZsName;

    private Long parentId=0L;
    private  String label=getTitle();

    public String getLabel() {
        return title;
    }

    public void setLabel(String label) {
        this.label = this.title;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }



    public String getClusteName() {
        return clusteName;
    }

    public void setClusteName(String clusteName) {
        this.clusteName = clusteName;
    }

    public String getZsName() {
        return ZsName;
    }

    public void setZsName(String zsName) {
        ZsName = zsName;
    }

    public String[] getOption() {
        return option;
    }

    public void setOption(String[] option) {
        this.option = option;
    }

    public String[] getCorrectoption() {
        return correctoption;
    }

    public void setCorrectoption(String[] correctoption) {
        this.correctoption = correctoption;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setSubjectClusteId(Long subjectClusteId)
    {
        this.subjectClusteId = subjectClusteId;
    }

    public Long getSubjectClusteId()
    {
        return subjectClusteId;
    }
    public void setKnowledgeManagerId(Long knowledgeManagerId)
    {
        this.knowledgeManagerId = knowledgeManagerId;
    }

    public Long getKnowledgeManagerId()
    {
        return knowledgeManagerId;
    }
    public void setDiffictRatio(Long diffictRatio)
    {
        this.diffictRatio = diffictRatio;
    }

    public Long getDiffictRatio()
    {
        return diffictRatio;
    }
    public void setImportRatio(Long importRatio)
    {
        this.importRatio = importRatio;
    }

    public Long getImportRatio()
    {
        return importRatio;
    }
    public void setBaseRatio(Long baseRatio)
    {
        this.baseRatio = baseRatio;
    }

    public Long getBaseRatio()
    {
        return baseRatio;
    }
    public void setKnowledgeScore(Long knowledgeScore)
    {
        this.knowledgeScore = knowledgeScore;
    }

    public Long getKnowledgeScore()
    {
        return knowledgeScore;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setIsDel(Integer isDel)
    {
        this.isDel = isDel;
    }

    public Integer getIsDel()
    {
        return isDel;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("type", getType())
                .append("subjectClusteId", getSubjectClusteId())
                .append("knowledgeManagerId", getKnowledgeManagerId())
                .append("diffictRatio", getDiffictRatio())
                .append("importRatio", getImportRatio())
                .append("baseRatio", getBaseRatio())
                .append("knowledgeScore", getKnowledgeScore())
                .append("status", getStatus())
                .append("isDel", getIsDel())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("option",getOption())
                .append("correctoption",getCorrectoption())
                .append("clusteName",getClusteName())
                .append("ZsName",getZsName())
                .toString();
    }
}
